/**
 * 
 */
package com.qjs.smterp.services;

import java.io.Serializable;
import java.util.List;

import com.qjs.smterp.model.Employee;
import com.qjs.smterp.model.Goods;
import com.qjs.smterp.model.GoodsInstock;
import com.qjs.smterp.model.Instock;
import com.qjs.smterp.model.Stock;
import com.qjs.smterp.model.Unit;

/**
 * @author Vostro 3400
 *
 */

public interface IEMService extends Serializable {
	public Stock findByStockCode(String code);
	public Stock findByStockId(int code);
	public List<Stock> findALlStock();
	public void updateStock(Stock stock);
	public void createStock(Stock stock);
	public void deleteStock(Stock stock);
	
	
	
	public Goods findByGoodsCode(String code);
	public Goods findByGoodsId(int Id);
	public List<Goods> findALlGoods();
	public void updateGoods(Goods goods);
	public void createGoods(Goods goods);
	public void deleteGoods(Goods goods);
	
	public Instock findByInstockCode(String code);
	
	public List<Instock> findALlInstock();
	public void updateInstock(Instock instock);
	public void createInstock(Instock instock);
	public void deleteInstock(Instock instock);

	public Unit findByUnitCode(String code);
	public Unit findByUnitId(int code);
	public List<Unit> findALlUnits();
	public void updateUnit(Unit unit);
	public void createUnit(Unit unit);
	public void deleteUnit(Unit unit);
	
	public Employee findByEmployeeCode(String code);
	public List<Employee> findALlEmployees();
	public void updateEmployee(Employee employee);
	public void createEmployee(Employee employee);
	public void deleteEmployee(Employee employee);
	
	public GoodsInstock findByGoodsInstockCode(String code);
	public List<GoodsInstock> findALlGoodsInstocks();
	public void updateGoodsInstock(GoodsInstock goodsInstock);
	public void createGoodsInstock(GoodsInstock goodsInstock);
	public void deleteGoodsInstock(GoodsInstock goodsInstock);
	
}
